package design.flyweight;

public class FlyWeightTest {
    public static void main(String[] args) {
        TreeNode treeNode1=new TreeNode( 3,4, TreeFactory.getTree("xxx","xxxxxxxxx" ));
        TreeNode treeNode2=new TreeNode( 5,4, TreeFactory.getTree("xxx","xxxxxxxxx" ));
        TreeNode treeNode3=new TreeNode( 13,24, TreeFactory.getTree("yyy","xxxxxxxxx" ));
        TreeNode treeNode4=new TreeNode( 15,24, TreeFactory.getTree("yyy","xxxxxxxxx" ));
    }
}
